home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************
- * oldmain.c
- *
- * Copyright (C) 1996, Adobe Systems Incorporated, All rights reserved.
- *
- * This file contains the old DllMain() & Main() functions, which
- * are typically included in the plugin's main .cpp file, but
- * were not there for the old plugins.
- ******************************************************************/
- #include "PMPlugin.h"
-
- PMBool WINAPI DllMain(HINSTANCE hInstance, ULONG ul_reason, LPVOID lpvReserved)
- {
- hDllInstance = hInstance; /* save the Instance in a global var */
-
- switch(ul_reason)
- {
- case DLL_PROCESS_ATTACH:
- break;
- case DLL_THREAD_ATTACH:
- break;
- case DLL_THREAD_DETACH:
- break;
- case DLL_PROCESS_DETACH:
- break;
- }
- return TRUE;
- }
-
-